<section class="content-header">
    <!-- <h1>
        {{ $header or trans('admin::lang.title') }}
        <small>{{ $description or trans('admin::lang.description') }}</small>
    </h1> -->
</section>

<section class="content">
    {{-- tian add flash提示信息 --}}
    @include('flash::message')

    @include('admin::partials.error')
    @include('admin::partials.success')
    @include('admin::partials.exception')
    @include('admin::partials.toastr')
    


    <div class="box">
        <!--<div class="box-header">
            <h3 class="box-title"></h3>
            <div class="pull-right">
            </div>
            <span>
            </span>
        </div>-->
        <!-- /.box-header -->
        <div class="box-body table-responsive no-padding">
            <input type="hidden" name="_token" value="{{ csrf_token() }}" />
            <input type="hidden" id="subcolumn_id" value="{{ $subcolumn_id }}" />

            <!-- table start -->
            <div class="row col-lg-12">
                <div class="animated fadeInUp">
                    <div class="ibox">
                        <div class="ibox-title" style="color: inherit;margin-bottom: 0;padding: 0px 15px 7px;min-height: 48px;">
                            <h5>
                                <!-- 所有项目 -->
                            </h5>
                            <div class="ibox-tools rboor" style="background-color: #ffffff;color: inherit;padding: 15px 20px 20px 20px;border-color: #e7eaec;border-image: none;border-style: solid solid none;border-width: 1px 0px;">
                                <a class="btn btn-default btn-sm" id="back-subcolumn-asset" href="javascript:void(0);" onclick="history.go(-1)">
                                    <i class="fa fa-arrow-left">
                                    </i>
                                    返回
                                </a>
                                <a class="btn btn-primary btn-sm" id="add-subcolumn-asset" href="javascript:void(0);">
                                    <i class="im-plus">
                                    </i>
                                    添加媒资
                                </a>
                                <a class="btn btn-danger btn-sm" id="batch-delete-subcolumn-asset" href="javascript:void(0);">
                                    <i class="im-remove4">
                                    </i>
                                    批量删除
                                </a>
                                <button class="btn btn-success btn-sm" href="javascript:void(0);" id="subcolumn-asset-selected-refresh">
                                    <i class="im-spinner10 fa-spin">
                                    </i>
                                    刷新
                                </button>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <!-- search start -->
                            <div class="form-horizontal clearfix">
                                <div class="col-lg-3 col-sm-3 pl0">
                                    <div class="form-group">
                                        <label class="col-lg-3 col-sm-3 control-label">
                                            归类：
                                        </label>
                                        <div class="col-lg-8 col-sm-7">
                                            <select class="input-sm form-control input-s-sm inline" id="subcolumn-asset-selected-vcat">
                                               <option value="">
                                                    请选择
                                                </option>
                                                
                                                @foreach ($vcats as $vcat)
                                                    <option value="{{ $vcat->id }}">{{ $vcat->name }}</option>
                                                @endforeach
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-3 col-sm-3 pl0">
                                    <div class="form-group">
                                        <label class="col-lg-3 col-sm-3 control-label">
                                            分类：
                                        </label>
                                        <div class="col-lg-8 col-sm-7">
                                            <select class="input-sm form-control input-s-sm inline" id="subcolumn-asset-selected-vcattag">
                                                <option value="">
                                                    请选择
                                                </option>
                                                @foreach ($vcattags as $vcattag)
                                                    <option value="{{ $vcattag->id }}">{{ $vcattag->name }}</option>
                                                @endforeach
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                    <div class="col-lg-3 col-sm-2 pl0">
                                        <div class="form-group">
                                            <label class="col-lg-4 col-sm-3 control-label">
                                                收费类型：
                                            </label>
                                            <div class="col-lg-8 col-sm-7">
                                                <select class="input-sm form-control input-s-sm inline" id="subcolumn-asset-selected-charge-type">
                                                    <option value="">
                                                        请选择
                                                    </option>
                                                        <option value="0">免费</option>
                                                        <option value="1">收费</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-sm-3">
                                    <div class="form-group">
                                        <div class="col-lg-12 col-sm-12 input-group">
                                            <input class="input-sm form-control" placeholder="请输入关键字" type="text" id="subcolumn-asset-selected-search-value">
                                                <span class="input-group-btn">
                                                    <button class="btn btn-sm btn-primary" type="button" id="subcolumn-asset-selected-search">
                                                        搜索
                                                    </button>
                                                </span>
                                            </input>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- search end -->
                            <!-- 表格-已选的媒资数据 -->
                            <table cellspacing="0" class="table table-striped table-bordered table-hover dataTables-example dataTable" id="subcolumn-asset-selected-table" width="100%">
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            <!-- table end -->
        </div>
    </div>


    <!-- Modal -->
    <div class="modal fade bs-example-modal-lg" id="subcolumn-asset-modal" tabindex="-1" role="dialog">
        <div class="modal-dialog modal-lg" role="document" style="width:90%;">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title">请选择媒资</h3>
                </div>
                <div class="modal-body">
                    <div class="ibox animated fadeInUp">
                        <div class="ibox-title">
                            <div class="ibox-tools rboor">
                                <a class="btn btn-primary btn-sm" id="batch-add-subcolumn-asset" href="javascript:void(0);">
                                    <i class="im-plus">
                                    </i>
                                    批量添加
                                </a>
                                <button class="btn btn-success btn-sm" href="javascript:void(0);" id="subcolumn-asset-table-refresh">
                                    <i class="im-spinner10 fa-spin">
                                    </i>
                                    刷新
                                </button>
                            </div>
                        </div>
                        <div class="ibox-content" style="background-color: #ffffff;color: inherit;padding: 15px 20px 20px 20px;border-color: #e7eaec;border-image: none;border-style: solid solid none;border-width: 1px 0px;">
                            <!-- search start -->
                            <div class="form-horizontal clearfix">
                                <div class="col-lg-3 col-sm-2 pl0">
                                    <div class="form-group">
                                        <label class="col-lg-3 col-sm-2 control-label">
                                            归类：
                                        </label>
                                        <div class="col-lg-8 col-sm-7">
                                            <select class="input-sm form-control input-s-sm inline" id="subcolumn-asset-vcat">
                                               <option value="">
                                                    请选择
                                                </option>
                                                @foreach ($vcats as $vcat)
                                                    <option value="{{ $vcat->id }}">{{ $vcat->name }}</option>
                                                @endforeach
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-3 col-sm-2 pl0">
                                    <div class="form-group">
                                        <label class="col-lg-3 col-sm-3 control-label">
                                            分类：
                                        </label>
                                        <div class="col-lg-8 col-sm-7">
                                            <select class="input-sm form-control input-s-sm inline" id="subcolumn-asset-vcattag">
                                                <option value="">
                                                    请选择
                                                </option>
                                                @foreach ($vcattags as $vcattag)
                                                    <option value="{{ $vcattag->id }}">{{ $vcattag->name }}</option>
                                                @endforeach
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                    <div class="col-lg-3 col-sm-2 pl0">
                                        <div class="form-group">
                                            <label class="col-lg-4 col-sm-4 control-label">
                                                收费类型：
                                            </label>
                                            <div class="col-lg-8 col-sm-7">
                                                <select class="input-sm form-control input-s-sm inline" id="subcolumn-asset-charge-type">
                                                    <option value="">
                                                        请选择
                                                    </option>
                                                        <option value="0">免费</option>
                                                        <option value="1">收费</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                <div class="col-lg-4 col-sm-4">
                                    <div class="form-group">
                                        <div class="col-lg-12 col-sm-12 input-group">
                                            <input class="input-sm form-control" placeholder="请输入关键字" type="text" id="subcolumn-asset-search-value">
                                                <span class="input-group-btn">
                                                    <button class="btn btn-sm btn-primary" type="button" id="subcolumn-asset-search">
                                                        搜索
                                                    </button>
                                                </span>
                                            </input>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- search end -->
                            <!-- 表格-媒资数据 -->
                            <table cellspacing="0" class="table table-striped table-bordered table-hover dataTables-example dataTable" id="subcolumn-asset-table" width="100%"></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
